package domain

type AlibabaServiceSettlementQueryDatalist struct {
	/*
	   工单ID     */
	WorkcardId *int64 `json:"workcard_id,omitempty" `

	/*
	   工单多次作业时的批次号     */
	WorkcardSequence *int64 `json:"workcard_sequence,omitempty" `

	/*
	   转帐金额，单位分     */
	TransferAmount *int64 `json:"transfer_amount,omitempty" `

	/*
	   入款方支付宝账号     */
	InUserAlipayAccountId *string `json:"in_user_alipay_account_id,omitempty" `

	/*
	   交易服务子订单ID     */
	ServiceTradeOrderId *int64 `json:"service_trade_order_id,omitempty" `

	/*
	   货币类型 人民币(CNY)     */
	Currency *string `json:"currency,omitempty" `

	/*
	   账单ID     */
	Id *string `json:"id,omitempty" `

	/*
	   出款方nick     */
	OutUserNick *string `json:"out_user_nick,omitempty" `

	/*
	   触发本次打款的动作类型。serviceOrder-tradeSuccess: 商家扣款到中间账户；serviceOrder-cancel: 退款;huijin-commision: 门店抽佣;huijin-store-transfer: 转账给门店     */
	Action *string `json:"action,omitempty" `

	/*
	   出款方支付宝账号     */
	OutUserAlipayAccountId *string `json:"out_user_alipay_account_id,omitempty" `

	/*
	   入款方nick     */
	InUserNick *string `json:"in_user_nick,omitempty" `

	/*
	   交易实物订单号     */
	MasterTradeOrderId *int64 `json:"master_trade_order_id,omitempty" `

	/*
	   卖家nick     */
	SellerNick *string `json:"seller_nick,omitempty" `

	/*
	   出款方用户角色 BUYER:买家 SELLER:卖家, STORE：门店, TP：服务商, PLATFORM：平台     */
	OutUserRole *string `json:"out_user_role,omitempty" `

	/*
	   状态；销帐：FINISH ;未销账:ONGOING     */
	Status *string `json:"status,omitempty" `

	/*
	   门店Code     */
	ServiceStoreCode *string `json:"service_store_code,omitempty" `

	/*
	   支付宝交易订单号     */
	AlipayOrderId *string `json:"alipay_order_id,omitempty" `

	/*
	   交易主订单号     */
	ParentTradeOrderId *int64 `json:"parent_trade_order_id,omitempty" `

	/*
	   支付时间     */
	PayTime *string `json:"pay_time,omitempty" `

	/*
	   入款方用户角色 BUYER:买家 SELLER:卖家, STORE：门店, TP：服务商, PLATFORM：平台     */
	InUserRole *string `json:"in_user_role,omitempty" `

	/*
	   创建时间     */
	CreateTime *string `json:"create_time,omitempty" `

	/*
	   服务单号     */
	ServiceOrderId *int64 `json:"service_order_id,omitempty" `

	/*
	   门店名称     */
	ServiceStoreName *string `json:"service_store_name,omitempty" `

	/*
	   扩展信息；json格式     */
	Attributes *string `json:"attributes,omitempty" `

	/*
	   门店Id     */
	ServiceStoreId *int64 `json:"service_store_id,omitempty" `

	/*
	   打款备注     */
	Comment *string `json:"comment,omitempty" `
}

func (s *AlibabaServiceSettlementQueryDatalist) SetWorkcardId(v int64) *AlibabaServiceSettlementQueryDatalist {
	s.WorkcardId = &v
	return s
}
func (s *AlibabaServiceSettlementQueryDatalist) SetWorkcardSequence(v int64) *AlibabaServiceSettlementQueryDatalist {
	s.WorkcardSequence = &v
	return s
}
func (s *AlibabaServiceSettlementQueryDatalist) SetTransferAmount(v int64) *AlibabaServiceSettlementQueryDatalist {
	s.TransferAmount = &v
	return s
}
func (s *AlibabaServiceSettlementQueryDatalist) SetInUserAlipayAccountId(v string) *AlibabaServiceSettlementQueryDatalist {
	s.InUserAlipayAccountId = &v
	return s
}
func (s *AlibabaServiceSettlementQueryDatalist) SetServiceTradeOrderId(v int64) *AlibabaServiceSettlementQueryDatalist {
	s.ServiceTradeOrderId = &v
	return s
}
func (s *AlibabaServiceSettlementQueryDatalist) SetCurrency(v string) *AlibabaServiceSettlementQueryDatalist {
	s.Currency = &v
	return s
}
func (s *AlibabaServiceSettlementQueryDatalist) SetId(v string) *AlibabaServiceSettlementQueryDatalist {
	s.Id = &v
	return s
}
func (s *AlibabaServiceSettlementQueryDatalist) SetOutUserNick(v string) *AlibabaServiceSettlementQueryDatalist {
	s.OutUserNick = &v
	return s
}
func (s *AlibabaServiceSettlementQueryDatalist) SetAction(v string) *AlibabaServiceSettlementQueryDatalist {
	s.Action = &v
	return s
}
func (s *AlibabaServiceSettlementQueryDatalist) SetOutUserAlipayAccountId(v string) *AlibabaServiceSettlementQueryDatalist {
	s.OutUserAlipayAccountId = &v
	return s
}
func (s *AlibabaServiceSettlementQueryDatalist) SetInUserNick(v string) *AlibabaServiceSettlementQueryDatalist {
	s.InUserNick = &v
	return s
}
func (s *AlibabaServiceSettlementQueryDatalist) SetMasterTradeOrderId(v int64) *AlibabaServiceSettlementQueryDatalist {
	s.MasterTradeOrderId = &v
	return s
}
func (s *AlibabaServiceSettlementQueryDatalist) SetSellerNick(v string) *AlibabaServiceSettlementQueryDatalist {
	s.SellerNick = &v
	return s
}
func (s *AlibabaServiceSettlementQueryDatalist) SetOutUserRole(v string) *AlibabaServiceSettlementQueryDatalist {
	s.OutUserRole = &v
	return s
}
func (s *AlibabaServiceSettlementQueryDatalist) SetStatus(v string) *AlibabaServiceSettlementQueryDatalist {
	s.Status = &v
	return s
}
func (s *AlibabaServiceSettlementQueryDatalist) SetServiceStoreCode(v string) *AlibabaServiceSettlementQueryDatalist {
	s.ServiceStoreCode = &v
	return s
}
func (s *AlibabaServiceSettlementQueryDatalist) SetAlipayOrderId(v string) *AlibabaServiceSettlementQueryDatalist {
	s.AlipayOrderId = &v
	return s
}
func (s *AlibabaServiceSettlementQueryDatalist) SetParentTradeOrderId(v int64) *AlibabaServiceSettlementQueryDatalist {
	s.ParentTradeOrderId = &v
	return s
}
func (s *AlibabaServiceSettlementQueryDatalist) SetPayTime(v string) *AlibabaServiceSettlementQueryDatalist {
	s.PayTime = &v
	return s
}
func (s *AlibabaServiceSettlementQueryDatalist) SetInUserRole(v string) *AlibabaServiceSettlementQueryDatalist {
	s.InUserRole = &v
	return s
}
func (s *AlibabaServiceSettlementQueryDatalist) SetCreateTime(v string) *AlibabaServiceSettlementQueryDatalist {
	s.CreateTime = &v
	return s
}
func (s *AlibabaServiceSettlementQueryDatalist) SetServiceOrderId(v int64) *AlibabaServiceSettlementQueryDatalist {
	s.ServiceOrderId = &v
	return s
}
func (s *AlibabaServiceSettlementQueryDatalist) SetServiceStoreName(v string) *AlibabaServiceSettlementQueryDatalist {
	s.ServiceStoreName = &v
	return s
}
func (s *AlibabaServiceSettlementQueryDatalist) SetAttributes(v string) *AlibabaServiceSettlementQueryDatalist {
	s.Attributes = &v
	return s
}
func (s *AlibabaServiceSettlementQueryDatalist) SetServiceStoreId(v int64) *AlibabaServiceSettlementQueryDatalist {
	s.ServiceStoreId = &v
	return s
}
func (s *AlibabaServiceSettlementQueryDatalist) SetComment(v string) *AlibabaServiceSettlementQueryDatalist {
	s.Comment = &v
	return s
}
